<div>
    <div>
        <h3>Projects</h3>
    </div>
    <div>
        <?php if (isset($projects)) : ?>
        <table class="table">
            <thead>
            <tr>
                <th>Id</th>
                <th>Description</th>
                <th>Developer</th>
                <th></th>
            </tr>
            </thead>
        <?php foreach($projects as $project): ?>
            <tbody>
            <tr>
                <td><?php echo $project->getId(); ?></td> 
                <td><a href="<?php echo $this->url('application', array('controller' => 'project', 'action' =>'show', 'id' => $project->getId()));?>"> <?php echo $project->getDescription(); ?></a></td>
                <td><?php echo $project->getUsers()->getFirstName(); ?></td>

            </tr>
            </tbody>
        <?php endforeach; ?>
        </table>
        <?php endif; ?>
    </div>
</div>
  

